test:test.o
	gcc -o test $^

test.o:test.c test.h

%.o:%.c
	gcc -c -o $@ $<

clean:
	rm -rfv *.o

.PHONY:clean
